export default [{
    path: '/',
    redirect: '/login'
  },
  {
    path: '/home',
    redirect: '/home/firstblood'
  },
  {
    // 登录
    path: '/login',
    component: function (resolve) {
      require(['./views/login.vue'], resolve)
    }
  },
  {
    // 主页
    path: '/home',
    component: function (resolve) {
      require(['./views/home.vue'], resolve)
    },
    children: [{
        // 
        path: 'firstblood',
        component: function (resolve) {
          require(['./views/firstblood.vue'], resolve)
        }
      },
      {
        // 
        path: 'tripleblood',
        component: function (resolve) {
          require(['./views/tripleblood.vue'], resolve)
        }
      },
      {
        // 
        path: 'doubleblood',
        component: function (resolve) {
          require(['./views/doubleblood.vue'], resolve)
        }
      },
      {
        // 
        path: 'ultrablood',
        component: function (resolve) {
          require(['./views/ultrablood.vue'], resolve)
        }
      }
    ]
  }
];
